home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C12 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.7 KB  |  149 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C12
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Opover \
  22.     Unary \
  23.     Binary \
  24.     Comma \
  25.     Smartp \
  26.     Iosop \
  27.     FeeFi \
  28.     Simpcopy \
  29.     Copymem \
  30.     Refcount \
  31.     RefcountTrace \
  32.     Autoeq \
  33.     Autocnst \
  34.     Opconv \
  35.     Reflex \
  36.     Strings1 \
  37.     Strings2 \
  38.     Ambig \
  39.     Fanout \
  40.     FeeFi2 
  41.  
  42. test: all 
  43.     Opover  
  44.     Unary  
  45.     Binary  
  46.     Comma  
  47.     Smartp  
  48.     Iosop  
  49.     FeeFi  
  50.     Simpcopy  
  51.     Copymem  
  52.     Refcount  
  53.     RefcountTrace  
  54.     Autoeq  
  55.     Autocnst  
  56.     Opconv  
  57.     Reflex  
  58.     Strings1  
  59.     Strings2  
  60.     Ambig  
  61.     Fanout  
  62.     FeeFi2  
  63.  
  64. bugs: 
  65.     @echo No compiler bugs in this directory!
  66.  
  67. Opover: Opover.o 
  68.     $(CPP) $(OFLAG)Opover Opover.o 
  69.  
  70. Unary: Unary.o 
  71.     $(CPP) $(OFLAG)Unary Unary.o 
  72.  
  73. Binary: Binary.o 
  74.     $(CPP) $(OFLAG)Binary Binary.o 
  75.  
  76. Comma: Comma.o 
  77.     $(CPP) $(OFLAG)Comma Comma.o 
  78.  
  79. Smartp: Smartp.o 
  80.     $(CPP) $(OFLAG)Smartp Smartp.o 
  81.  
  82. Iosop: Iosop.o 
  83.     $(CPP) $(OFLAG)Iosop Iosop.o 
  84.  
  85. FeeFi: FeeFi.o 
  86.     $(CPP) $(OFLAG)FeeFi FeeFi.o 
  87.  
  88. Simpcopy: Simpcopy.o 
  89.     $(CPP) $(OFLAG)Simpcopy Simpcopy.o 
  90.  
  91. Copymem: Copymem.o 
  92.     $(CPP) $(OFLAG)Copymem Copymem.o 
  93.  
  94. Refcount: Refcount.o 
  95.     $(CPP) $(OFLAG)Refcount Refcount.o 
  96.  
  97. RefcountTrace: RefcountTrace.o 
  98.     $(CPP) $(OFLAG)RefcountTrace RefcountTrace.o 
  99.  
  100. Autoeq: Autoeq.o 
  101.     $(CPP) $(OFLAG)Autoeq Autoeq.o 
  102.  
  103. Autocnst: Autocnst.o 
  104.     $(CPP) $(OFLAG)Autocnst Autocnst.o 
  105.  
  106. Opconv: Opconv.o 
  107.     $(CPP) $(OFLAG)Opconv Opconv.o 
  108.  
  109. Reflex: Reflex.o 
  110.     $(CPP) $(OFLAG)Reflex Reflex.o 
  111.  
  112. Strings1: Strings1.o 
  113.     $(CPP) $(OFLAG)Strings1 Strings1.o 
  114.  
  115. Strings2: Strings2.o 
  116.     $(CPP) $(OFLAG)Strings2 Strings2.o 
  117.  
  118. Ambig: Ambig.o 
  119.     $(CPP) $(OFLAG)Ambig Ambig.o 
  120.  
  121. Fanout: Fanout.o 
  122.     $(CPP) $(OFLAG)Fanout Fanout.o 
  123.  
  124. FeeFi2: FeeFi2.o 
  125.     $(CPP) $(OFLAG)FeeFi2 FeeFi2.o 
  126.  
  127.  
  128. Opover.o: Opover.cpp 
  129. Unary.o: Unary.cpp 
  130. Binary.o: Binary.cpp ../require.h 
  131. Comma.o: Comma.cpp 
  132. Smartp.o: Smartp.cpp 
  133. Iosop.o: Iosop.cpp ../require.h 
  134. FeeFi.o: FeeFi.cpp 
  135. Simpcopy.o: Simpcopy.cpp 
  136. Copymem.o: Copymem.cpp ../require.h 
  137. Refcount.o: Refcount.cpp ../require.h 
  138. RefcountTrace.o: RefcountTrace.cpp ../require.h 
  139. Autoeq.o: Autoeq.cpp 
  140. Autocnst.o: Autocnst.cpp 
  141. Opconv.o: Opconv.cpp 
  142. Reflex.o: Reflex.cpp 
  143. Strings1.o: Strings1.cpp ../require.h 
  144. Strings2.o: Strings2.cpp ../require.h 
  145. Ambig.o: Ambig.cpp 
  146. Fanout.o: Fanout.cpp 
  147. FeeFi2.o: FeeFi2.cpp 
  148.  
  149.